home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10607 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: info.uah.edu!oreo!gbacon
  2. From: gbacon@oreo (Greg Bacon)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: System V IPC documentation
  5. Date: 18 Mar 1996 23:16:49 GMT
  6. Organization: The University of Alabama in Huntsville
  7. Message-ID: <4ikqt1$ec2@info.uah.edu>
  8. References: <314DB28A.643F@gbms01.uwgb.edu>
  9. Reply-To: gbacon@CS.UAH.Edu
  10. NNTP-Posting-Host: oreo.aspire.cs.uah.edu
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Philip Nelson (nelsonp@gbms01.uwgb.edu) wrote:
  14. : I have been trying with limited success to write code with Sys V IPC for 
  15. : shared memory access and message passing.  While have had partial success 
  16. : I have not been consistently been able to allocate or attach the shared 
  17. : areas.  It seems to have something to do with the flags argument to 
  18. : shmget but I don't have enough information to understand what is 
  19. : happening in the kernel tables.  I need to solve this for my own program 
  20. : but more importantly for a group of students who may be doing this in 
  21. : next year's class.  I need to know more about the flags argument and how 
  22. : keys and ID's are allocated and maintained.
  23.  
  24. : Philip Nelson <nelsonp@gbms01.uwgb.edu>
  25.  
  26. Take a look at W. Richard Stevens' _UNIX_Network_Programming_.  It's an
  27. excellent book, and it covers (among others) SysV IPC.  Otherwise, consult
  28. your system's manual pages.
  29.  
  30. Greg
  31. --
  32. Greg Bacon <gbacon@cs.uah.edu>
  33. University of Alabama in Huntsville
  34. CS Department Systems Support Team
  35.